<?php
namespace Opportunity\Model;

class Home 
{
    public $id;
    public $opportunity_name;
    public $amount;
    public $account_name;
    public $closedate;
	

    public function exchangeArray($data)
    {
        $this->id = (isset($data['id'])) ? $data['id'] : null;
        $this->opportunity_name = (isset($data['opportunity_name'])) ? $data['opportunity_name'] : null;
        $this->amount = (isset($data['amount'])) ? $data['amount'] : null;
        $this->account_name = (isset($data['account_name'])) ? $data['account_name'] : null;
        $this->closedate  = (isset($data['closedate'])) ? $data['closedate'] : null;  
    }
	
	public function __construct(array $options = null) {
        if (is_array($options)) {
            $this->setOptions($options);
        }
    }
        
    
}